home *** CD-ROM | disk | FTP | other *** search
-
- Installation instructions for x-scm
-
- 1. Get and build scm4a10 or later. Make sure it works OK before proceeding,
- and install scm in a directory on your path; the build procedure
- for x-scm uses scm.
-
- 2. Unpack the x-scm distribution in a subdirectory directly under scm.
-
- 3. Edit the Imakefile to taste and say "imake". The Imakefile contains
- rules for building three variations of scm:
-
- xscm contains primitives for Xlib only
- xmscm contains primitives for Xlib, Xt, and Motif
- olscm contains primitives for Xlib, Xt, and OpenLook
-
- Most systems have Motif or OpenLook, but not both. As distributed,
- the Imakefile tries to build both. To suppress one or the other
- version:
-
- imake -DSUPPRESS_MOTIF
- or
- imake -DSUPPRESS_OPENLOOK
-
- If you don't have imake, or don't want to bother with it, I've
- included a Makefile generated by imake on my system in the kit,
- called Makefile. It works on my system -- on other systems you
- will need to tweak it -- perhaps a lot. Try to use imake if you
- can.
-
- 4. Add the following lines to the *catalog* function in "require.scm"
- in your Scheme library:
-
- (ol . "ol")
- (olsubs . "olsubs")
- (x11 . "x11")
- (xevent . "xevent")
- (xm . "xm")
- (xmsubs . "xmsubs")
- (xt . "xt")
- (xw . "xw")
-
- 5. Say "Hi mom!":
-
- $ xmscm xhello
-
- Try it out with some pretty pictures:
-
- $ xmscm xmandel
-
- Or fiddle with your colormap:
-
- $ xmscm xcolorselect
-
- 6. When you're satisfied that it works, say "make install".
-
- 7. Have fun!
-
- - Larry Campbell
- campbell@redsox.bsw.com
- August 13, 1992
-